#pragma once

#include "NFServerComm/NFServerCommon/NFIDescStore.h"
#include "NFServerComm/NFServerCommon/NFIDescTemplate.h"
#include "NFLogicCommon/NFDescStoreTypeDefines.h"
#include "E_Treasure.nanopb.h"
#define MAX_TREASURE_ADVENTURE_NUM 16

class TreasureAdventureDesc : public NFIDescTemplate<TreasureAdventureDesc, E_TreasureAdventure, EOT_CONST_TREASURE_ADVENTURE_DESC_ID, MAX_TREASURE_ADVENTURE_NUM>
{
public:
	TreasureAdventureDesc();
	virtual ~TreasureAdventureDesc();
	int CreateInit();
	int ResumeInit();
public:
	virtual int Load(NFResDb *pDB) override;
	virtual int CheckWhenAllDataLoaded() override;
};
